home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d6 / sprt109a.arc / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-05-01  |  11KB  |  283 lines

  1. echo off
  2. prompt $p $
  3. cls
  4. echo. 
  5. if "%1" == "C:" GOTO ready
  6. if "%1" == "c:" GOTO ready
  7. if "%1" == "D:" GOTO ready
  8. if "%1" == "d:" GOTO ready
  9. if "%1" == "E:" GOTO ready
  10. if "%1" == "e:" GOTO ready
  11. if "%1" == "F:" GOTO ready
  12. if "%1" == "f:" GOTO ready
  13. if "%1" == "G:" GOTO ready
  14. if "%1" == "g:" GOTO ready
  15. if "%1" == "H:" GOTO ready
  16. if "%1" == "h:" GOTO ready
  17. if "%1" == "I:" GOTO ready
  18. if "%1" == "i:" GOTO ready
  19. if "%1" == "J:" GOTO ready
  20. if "%1" == "j:" GOTO ready
  21. echo    ┌───────────────────────────────────────────────────────────────────┐
  22. echo    │           The SPORT Wide Area Information Transfer System         │
  23. echo    │                        Installation Utility                       │
  24. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  25. echo    └───────────────────────────────────────────────────────────────────┘
  26. echo.   
  27. echo     Sorry,  but you have not specified  a drive on which SPORT should be
  28. echo     installed.  SPORT needs to reside on your Hard Disk Drive C: - J:.
  29. echo.   
  30. echo     For example, to install SPORT on drive C, use "INSTALL C:".  Use the
  31. echo     drive letter followed by a colon to designate the drive.  You should
  32. echo     use this method if you are installing SPORT from one or more distri-
  33. echo     bution diskettes.
  34. echo.   
  35. echo     If you are *NOT* installing from drive A:, but from files already on
  36. echo     your hard disk, use "INSTALL d: H", where "d:" is the drive on which
  37. echo     you will be installing SPORT.   If you received SPORT electronically
  38. echo     in one or more compressed files you should use this method.  Be sure
  39. echo     to use the "H" argument when you run INSTALL.
  40. echo.   
  41. echo     Please try again.
  42. echo.   
  43. GOTO finis
  44.  
  45. :READY
  46. cls
  47. echo. 
  48. echo    ┌───────────────────────────────────────────────────────────────────┐
  49. echo    │           The SPORT Wide Area Information Transfer System         │
  50. echo    │                        Installation Utility                       │
  51. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  52. echo    └───────────────────────────────────────────────────────────────────┘
  53. echo. 
  54. echo     Installation will now begin.
  55.  
  56. echo     Please be sure you have all of the distribution disks ready to go.
  57. echo     The installation process is quite short and simple.
  58. echo. 
  59. %1
  60. cd \
  61. echo     Creating \SPORT subdirectory - for SPORT files and utilities.
  62. md sport > nul
  63. echo     Creating \SPORT\INCOMING subdirectory - for incoming mail.
  64. cd \sport
  65. md incoming > nul
  66. echo     Creating \SPORT\DOCS - for SPORT documentation and system notes.
  67. md docs > nul
  68. cd \sport
  69. echo. 
  70.  
  71. If "%2" == "h" GOTO hd1
  72. If "%2" == "H" GOTO hd1
  73. GOTO LOAD1
  74.  
  75. :hd1
  76. if exist *.doc copy *.doc \sport\docs > NUL
  77. if exist *.txt copy *.txt \sport\docs > NUL
  78. if exist *.doc del *.doc > NUL
  79. if exist *.txt del *.txt > NUL
  80. if exist disk1 del disk1 > NUL
  81. if exist disk2 del disk2 > NUL
  82. if exist disk3 del disk3 > NUL
  83. goto hd2
  84.  
  85. :LOAD1
  86. echo. 
  87. IF exist a:DISK1 GOTO d1
  88. echo Please place DISK 1 in Drive A:
  89. pause
  90. IF exist a:DISK1 GOTO d1
  91. goto load1
  92. :D1
  93. echo. 
  94. echo Please wait while files are copied...
  95. if exist a:*.exe copy a:*.exe \sport > NUL
  96. if exist a:*.ovr copy a:*.ovr \sport > NUL
  97. if exist a:*.bat copy a:*.bat \sport > NUL
  98. if exist a:*.raw copy a:*.raw \sport > NUL
  99. if exist a:*.ban copy a:*.ban \sport > NUL
  100. if exist a:*.hlp copy a:*.hlp \sport > NUL
  101. if exist a:*.ctl copy a:*.ctl \sport > NUL
  102. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  103.  
  104. :LOAD2
  105. cls
  106. echo. 
  107. echo    ┌───────────────────────────────────────────────────────────────────┐
  108. echo    │           The SPORT Wide Area Information Transfer System         │
  109. echo    │                        Installation Utility                       │
  110. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  111. echo    └───────────────────────────────────────────────────────────────────┘
  112. echo. 
  113. echo Please place DISK 2 in Drive A:
  114. pause
  115. IF exist a:DISK2 GOTO d2
  116. goto load2
  117. :D2
  118. echo. 
  119. echo Please wait while files are copied...
  120. if exist a:*.exe copy a:*.exe \sport > NUL
  121. if exist a:*.ovr copy a:*.ovr \sport > NUL
  122. if exist a:*.bat copy a:*.bat \sport > NUL
  123. if exist a:*.raw copy a:*.raw \sport > NUL
  124. if exist a:*.ban copy a:*.ban \sport > NUL
  125. if exist a:*.hlp copy a:*.hlp \sport > NUL
  126. if exist a:*.lst copy a:*.lst \sport > NUL
  127. if exist a:*.ctl copy a:*.ctl \sport > NUL
  128. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  129.  
  130. :LOAD3
  131. cls
  132. echo. 
  133. echo    ┌───────────────────────────────────────────────────────────────────┐
  134. echo    │           The SPORT Wide Area Information Transfer System         │
  135. echo    │                        Installation Utility                       │
  136. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  137. echo    └───────────────────────────────────────────────────────────────────┘
  138. echo. 
  139. echo Please place DISK 3 in Drive A:
  140. pause
  141. IF exist a:DISK3 GOTO d3
  142. goto load3
  143. :D3
  144. echo. 
  145. echo Please wait while files are copied...
  146. if exist a:*.exe copy a:*.exe \sport > NUL
  147. if exist a:*.ovr copy a:*.ovr \sport > NUL
  148. if exist a:*.bat copy a:*.bat \sport > NUL
  149. if exist a:*.raw copy a:*.raw \sport > NUL
  150. if exist a:*.ban copy a:*.ban \sport > NUL
  151. if exist a:*.hlp copy a:*.hlp \sport > NUL
  152. if exist a:*.ctl copy a:*.ctl \sport > NUL
  153. if exist a:*.cmd copy a:*.cmd \sport > NUL
  154. if exist a:*.cfg copy a:*.cfg \sport > NUL
  155. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  156.  
  157. :hd2
  158. cls
  159. echo. 
  160. echo    ┌───────────────────────────────────────────────────────────────────┐
  161. echo    │           The SPORT Wide Area Information Transfer System         │
  162. echo    │                        Installation Utility                       │
  163. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  164. echo    └───────────────────────────────────────────────────────────────────┘
  165. echo. 
  166. echo     You are now ready to configure SPORT for your own system.   Several
  167. echo     questions will be presented to help you customize your installation.
  168. echo. 
  169. echo     Please  note that  the questions have default responses.   You will
  170. echo     only need to press [RETURN] on your keyboard  to accept the default
  171. echo     response.  Several of these questions will be confusing if you have
  172. echo     not yet read the documentation for SPORT. Don't let this worry you.
  173. echo     If you are  unsure about how to answer a given question, just press
  174. echo     [RETURN] on  your keyboard.   You can run the  Installation Utility
  175. echo     (SPORTI) again as often as you wish.
  176. echo. 
  177. echo     After the  installation  is complete you will find  SPORTI  in your
  178. echo     default  SPORT  subdirectory.   The SPORT documentation covers many
  179. echo     more advanced features which you may wish to explore.
  180. echo. 
  181. pause
  182. cls
  183. echo. 
  184. echo    ┌───────────────────────────────────────────────────────────────────┐
  185. echo    │           The SPORT Wide Area Information Transfer System         │
  186. echo    │                        Installation Utility                       │
  187. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  188. echo    └───────────────────────────────────────────────────────────────────┘
  189. echo. 
  190. echo    If you have a color monitor answer Y (for YES) to the next question,
  191. echo    otherwise answer N (for NO) and press RETURN.
  192. echo. 
  193. if "%1" == "C:" SPORTI 3
  194. if "%1" == "c:" SPORTI 3
  195. if "%1" == "D:" SPORTI 4
  196. if "%1" == "d:" SPORTI 4
  197. if "%1" == "E:" SPORTI 5
  198. if "%1" == "e:" SPORTI 5
  199. if "%1" == "F:" SPORTI 6
  200. if "%1" == "f:" SPORTI 6
  201. if "%1" == "G:" SPORTI 7
  202. if "%1" == "g:" SPORTI 7
  203. if "%1" == "H:" SPORTI 8
  204. if "%1" == "h:" SPORTI 8
  205. if "%1" == "I:" SPORTI 9
  206. if "%1" == "i:" SPORTI 9
  207. if "%1" == "J:" SPORTI 10
  208. if "%1" == "j:" SPORTI 10
  209. pause
  210. cls
  211. echo. 
  212. echo    ┌───────────────────────────────────────────────────────────────────┐
  213. echo    │           The SPORT Wide Area Information Transfer System         │
  214. echo    │                        Installation Utility                       │
  215. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  216. echo    └───────────────────────────────────────────────────────────────────┘
  217. echo. 
  218. echo    You will now have a chance to edit the SPORT.RAW file - the telephone
  219. echo    book for SPORT.  You will be able to enter numbers of other users you
  220. echo    would like to contact.
  221. echo. 
  222. echo    You will be using the SPORT message editor to review and make changes
  223. echo    to the file.  Feel free to move about in the file,  but before making
  224. echo    any changes be sure  to read  the comment  lines throughout the file.
  225. echo    Use your [PageUp] and [PageDown] keys to move through the file.
  226. echo. 
  227. echo    You may enter the  names and  telephone  numbers of other SPORT users
  228. echo    once you understand the format required by the SPORT.RAW file.   When
  229. echo    you are ready to leave the editor,  use the  [ALT+Q]  key combination
  230. echo    and answer "Y" to the "SAVE" prompt.   The new SPORT.RAW file will be
  231. echo    automatically prepared for use by SPORT.
  232. echo. 
  233. pause
  234. sportedt sport.raw
  235. sprep y
  236. cls
  237. echo. 
  238. echo    ┌───────────────────────────────────────────────────────────────────┐
  239. echo    │           The SPORT Wide Area Information Transfer System         │
  240. echo    │                        Installation Utility                       │
  241. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  242. echo    └───────────────────────────────────────────────────────────────────┘
  243. echo. 
  244. echo. 
  245. echo    As you were able to edit the SPORT.RAW telephone book, you will now
  246. echo    be able to edit two other files:
  247. echo. 
  248. echo      1.  SPORT.BAN - the banner file shown to human callers.
  249. echo      2.  SCHAT.BAN - the banner file shown to callers who want to chat.
  250. echo. 
  251. echo    Feel free to edit these to your liking, or just save them if you will
  252. echo    not be using them right away.
  253. echo. 
  254. echo. 
  255. pause
  256. sportedt sport.ban
  257. sportedt schat.ban
  258. if exist \sportexe.zip del \sportexe.zip
  259. if exist \read.me del \read.me
  260. sprep y
  261. smodem
  262. if not exist signup.exe goto hd3
  263. signup
  264. :hd3
  265. cls
  266. echo. 
  267. echo    ┌───────────────────────────────────────────────────────────────────┐
  268. echo    │           The SPORT Wide Area Information Transfer System         │
  269. echo    │                        Installation Utility                       │
  270. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  271. echo    └───────────────────────────────────────────────────────────────────┘
  272. echo. 
  273. echo     Your SPORT system has now been installed.    A new batch file named
  274. echo     RUNSPORT.BAT has also been created. You may now run SPORT by typing
  275. echo     RUNSPORT from the default directory created during the installation
  276. echo     process.
  277. echo. 
  278. echo     Be sure to read the documentation which came with SPORT.   You will
  279. echo     find documentation and service notes in the subdirectory  \DOCS off
  280. echo     of your SPORT default directory.
  281. echo. 
  282. :FINIS
  283.